package com.rede.didiok.user.modulelist.rank.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rede.didiok.user.modulelist.rank.entity.AttrInfoEntity;

/**
 * 活动对应的属性信息
 * 
 * @author Rede
 * @email didiok@foxmail.com
 * @date 2024-02-20 15:43:51
 */
@Mapper
public interface AttrInfoDao extends BaseMapper<AttrInfoEntity> {

    /**
     * 根据 memberUid 删除 attrInfo
     * @param memberUid
     * @param status
     * @return
     */
    Boolean updateStatusByMemberUid(@Param("memberUid") String memberUid, @Param("status") int status);

    /**
     * 获取活动结束时间
     *
     * @return
     */
    AttrInfoEntity getActivityEndTimeByMemberUid(@Param("memberUid") String memberUid);

}
